/**
 * 
 */
package com.zc.BankCreditManagement.JavaBean;

/**
 * @author ZhangCheng
 * @time 2019年9月17日
 */
public class User {
	private String userId;// 登陆该系统的用户Id
	private int peoId;//对应用户的Id
	private String pwd;// 密码
	private int userType;// 用户类型

	/**
	 * @param userId
	 * @param pwd
	 * @param userType
	 */
	public User(String userId,int peoID, String pwd, int userType) {
		super();
		this.userId = userId;
		this.peoId = peoID;
		this.pwd = pwd;
		this.userType = userType;
	}

	
	public int getPeoId() {
		return peoId;
	}


	public void setPeoId(int peoId) {
		this.peoId = peoId;
	}


	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the pwd
	 */
	public String getPwd() {
		return pwd;
	}

	/**
	 * @param pwd the pwd to set
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	/**
	 * @return the userType
	 */
	public int getUserType() {
		return userType;
	}

	/**
	 * @param userType the userType to set
	 */
	public void setUserType(int userType) {
		this.userType = userType;
	}


	public String getInfo() {
		return "User [userId=" + userId + ", peoId=" + peoId + ", pwd=" + pwd + ", userType=" + userType + "]";
	}

	

}
